Skip to content

fix: don't just show the creation time for threads in sidebar#1136

Open
nmggithub wants to merge 2 commits intopingdotgg:mainfrom
nmggithub:sidebar-dates
Open

fix: don't just show the creation time for threads in sidebar#1136
nmggithub wants to merge 2 commits intopingdotgg:mainfrom
nmggithub:sidebar-dates

Conversation

@nmggithub
Copy link
Contributor

@nmggithub nmggithub commented Mar 16, 2026

What Changed

Should resolve #973. This updates the date indicator for threads as the thread itself updates. We can decided which dates we actually want to use as the canonical reference points.

EDIT: Changed strategies to use the last chat message's createdAt. Macroscope's summary below is out-of-date.

Why

Users expect the date indicator to change as they interact with the thread.

UI Changes

Before (main) and after (`sidebar-dates', my branch) on a thread I just got a response from:
Screenshot 2026-03-16 at 03 50 21
Screenshot 2026-03-16 at 03 50 05

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Fix sidebar thread timestamps to show last visited or latest turn time

Thread items in the sidebar were always showing createdAt, ignoring more recent activity. Sidebar.tsx now uses lastVisitedAt first, then latestTurn.completedAt, falling back to createdAt.

Macroscope summarized eb686b0.

@coderabbitai
Copy link

coderabbitai bot commented Mar 16, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 35d90cfb-6d73-41dc-a827-08c5b65afe28

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chat Date on New Message shows 5d old

1 participant